package org.summer.generator.log;

import java.time.format.DateTimeFormatter;

public interface Logger {
    public static final DateTimeFormatter FORMATTER = DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss.SSS");
    public static final String ANSI_RED = "\u001B[31m";
    public static final String ANSI_GREEN = "\u001B[32m";
    public static final String ANSI_YELLOW = "\u001B[33m";
    public static final String ANSI_BLUE = "\u001B[34m";
    public static final String ANSI_PURPLE = "\u001B[35m";
    public static final String ANSI_CYAN = "\u001B[36m";
    public static final String ANSI_END = "\u001B[0m";
    public static final String DEBUG = "[DEBUG]";
    public static final String ERROR = "[ERROR]";
    public static final String INFO = "[INFO]";
    public static final String WARN = "[WARN]";
    void debug(String msg,Object ...args);

    void error(String msg,Object ...args);

    void warn(String msg, Object ...args);

    void info(String msg, Object ...args);
}
